import Index from '@/views/Index'
const game = {
    path: '/game',
    name: 'game',
    redirect: '/game/list',
    component: Index,
    children: [
        {
            path: 'list',
            component: () => import('@/views/game/List.vue'),
            name: 'game_list',
            meta: {
                title: '游戏列表',
                auth: true,
                breadcrumb: [{
                    title: '游戏管理',
                    path: '/game'
                }, {
                    title: '游戏列表',
                    path: '/game/list'
                }]
            }
        }, {
            path: 'add',
            component: () => import('@/views/game/Add.vue'),
            name: 'game_add',
            meta: {
                title: '添加游戏',
                auth: true,
                breadcrumb: [{
                    title: '游戏管理',
                    path: '/game'
                }, {
                    title: '添加游戏',
                    path: '/game/add'
                }]
            }
        }
    ]
}
export default game